package cn.xbtop.service.impl;

import cn.xbtop.domain.UserAddress;
import cn.xbtop.service.UserService;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/3/26 20:43
 */
//@Service(timeout = 3000)
public class UserServiceImpl implements UserService {
    public static List<UserAddress> list = new ArrayList<UserAddress>();

    static {
        list.add(new UserAddress(1,"郑州","001"));
        list.add(new UserAddress(2,"新乡","002"));
    }


    public List<UserAddress> queryAllAddress(String userId) {
        return list;
    }
}
